# coding: utf-8

import random

if __name__ == '__main__':
    count_0 = 0
    count_1 = 0
    for i in range(100):
        if random.randint(0, 1) == 0:
            count_0 += 1
        else:
            count_1 += 1
    print("0的次数:", count_0)
    print("1的次数:", count_1)
